<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>吃啥</title>
</head>

<link href="../../image/style-food.css" type=text/css rel=stylesheet>
<script language="javascript" type="text/javascript"  src="/image/jquery.js"></script> 
<script src="/image/food/common-food.js"></script>
<script src="/image/jqueryprogressbar.js"></script>
<body>	
<div class="container">
 <div class="mbody">
   <div class="mlogo">
        <a href="#"><img src=""/></a>
   </div>
   <div class="mhead">    
     <div class="mnav"> 
       <a class="a-first" href="#">首页</a>
       <a href="#">私人频道</a>
	   <a href="#">晒食园</a>
       <a href="#">食谱</a>           
       <a href="#">食百问</a>
	   <a href="#">菜园子</a>
       <a href="#">食膳名师</a>
    </div>
  </div> 
  <div class="content-radius"></div>
  <div class="content">   	  
      <div class="left content-left">
 	  	  <div class="foodshow border-solid">
	            <div class="foodshow-head bg-highlight">
                	<h1><?=$menu['subject']?></h1> 
                </div>
          		<div class="foodcontent">                	 
		            <div class="left">
	                    <p><a href=""><img src="/image/food/food1.jpg"/></a></p>
                    </div>
                    <div class="left">
                    	<div class="two-part">
	                        <ul>
                        		<li><span>口味：<a href="">咸</a></span><span>难度：<a href="">初级</a></span></li>
		                        <li><span>时间：<a href="">10分钟左右</a></span><span>分类：<a href="">大众菜</a></span></li>
                            </ul>
                        </div>
                        <div class="two-part">
                        	<h5>主料：</h5>
                            <ul>
                        		<li><span>小葱：2根</span><span>香菜：2根</span></li>
                                <li><span>小白菜：2根</span><span>青椒：2根</span></li>
                            </ul>
                            <h5>辅料：</h5>
                        	<span>盐：2根</span><span>鸡精：2根</span><br /> 
                            <span>香油：2根</span>
                        </div>
                        <div style="margin-left:20px;font-size:16px; color:red;">
                        	<span> 吃啦！</span>
                        	<span><a href="">分享</a></span>
                        </div>                        
                    </div>
                    <div class="clear"></div>
                    <div class="steps">
                    	<h4>步骤</h4>
                        <ul class="num">
                        	<li>
                           	<?=$menu['content']?>
                            </li>
                        </ul>
                    </div>
                </div>
           <div class="foodshow-list">
          	 <h4>相关菜品</h4>
             <ul>          
             	<li>
                	<p class="border-solid"><a href=""><img src="/image/food/food2.jpg"/></a></p>
                    <h4><a href="">菜品介绍</a></h4>
                </li>
                <li>
                	<p class="border-solid"><a href=""><img src="/image/food/food3.jpg"/></a></p>
                    <h4><a href="">菜品介绍</a></h4>
                </li>
                <li>
                	<p class="border-solid"><a href=""><img src="/image/food/food4.jpg"/></a></p>
                    <h4><a href="">菜品介绍</a></h4>
                </li>
                <li class="last">
                	<p class="border-solid"><a href=""><img src="/image/food/food5.jpg"/></a></p>
                    <h4><a href="">菜品介绍</a></h4>
                </li>
             </ul>            
          </div>  
          
          
         
                  
          </div>
           <div>
          <div>评论</div>
          <ul>
          <? if(empty($comments) || count($comments)==0){?>
	          	 	<li>	                	
	                    <span>还没有评论，快来添加一份吧</span>
	                </li>
          	 	<? }else{?>
	          	 	<? foreach($comments as $comment){?>
	             	<li>
	             		<p><?=$comment['user_name'] ?>回复：</p>	                	
	                    <p><?=$comment['message'] ?></p>	                    
	                    <p><?= date('m-d H:m',$comment['mktime']) ?></p>
	                </li>
	               <?}?>
               <?}?>
          <li></li>
          </ul>
          </div>
          <hr>
          <div>
          <p>如果您没有登录，请先登录后再评论</p>
          <form method="post" action="/food/addcomment">
          <input hidden="hidden" value="<?=$menu['menu_id']?>" name="menu_id" />
          <textarea name="message"></textarea><br>
          <input type="submit" value="发表" class="button-little" />
          <input hidden="hidden" value="0" name="score" />
          </form>
          <div id="message"></div>
          
          </div>
          
      </div>
      <div class="left content-right">
	      <div class="tips box">
          	<div class="box-header bg-highlight">
            	小贴士
            </div>
            <p>今天天气闷热，喝点绿豆汤吧！</p>
          </div>
          <div class="box">
          	<div class="box-header bg-highlight">
            	登录
            </div>
            <div class="box-content">
              <form>
              	<ul class="input-info-little">
                  <li ><span>邮箱：</span> <span><input name="" type="text" /></span></li>
                  <li><span>密码：</span> <span><input name="" type="text" /></span> </li>
                  <li><span></span> <span><input name="" type="checkbox" value="">记住我</span> </li>
                  <li class="last-desc"><span></span> <span><input type="submit" value="登录" class="button-little"/></span></li>  
                </ul>
              </form>
            </div>
          </div>
          <div class="box">
          	<div class="box-header bg-highlight">
            	排行榜
            </div>
            <div class="box-content">
              	<table class="two-cols img-little p-little">
                	<tr class="first-tr"><td><img src="../../image/food/food2.jpg"/></td><td><p>牙买加套餐</p><p class="p-last">15 推荐 | 20 品尝</p></td></tr>
                    <tr><td><img src="../../image/food/food3.jpg"/></td><td><p>地中海套餐</p><p class="p-last">5 推荐 | 10 品尝</p></td></tr>
                </table>
            </div>
          </div>
          <div class="box">
          	<div class="box-header bg-highlight">
            	进一步推荐
            </div>            
            <div class="box-content select-short">
              <form>
                  <select name=""><option selected>年龄</option></select>
                  <select name=""><option selected>性别</option></select>
                  <input type="submit" value="确认" class="button-little"/>     
              </form>
            </div>          	
          </div>
         
          
      </div>
  </div>
 </div>	
</div>
</body>
</html>
